﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TVNDBLayer;
using TVNDBLayer.BLL;

public partial class home : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

        ((MainMasterPage)Page.Master).SiteWrap = "site-wrap";
        if (!IsPostBack)
        {
            AlbumBLL albumBLL = new AlbumBLL();
            List<Album> lAlbum = albumBLL.LoadAlbum();
            AlbumControl1.DataSource = lAlbum;
        }
    }
}